package com.xupypr.surgery.client;

import java.util.Date;
import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.xupypr.surgery.client.objects.BlogEntry;

public interface IAdminPanelDispatcherAsync {

	void createEntry(BlogEntry entry, AsyncCallback<Void> callback);

	void getEntries(Date borderDate, Long quantity,
			AsyncCallback<List<BlogEntry>> callback);

	void deleteEntry(Long id, AsyncCallback<Void> callback);

	void getEntry(Long id,  AsyncCallback<BlogEntry> callback);
}
